<template>
  <my-input-component v-model="inputValue"></my-input-component>
</template>

<script>
  import MyInputComponent from './components';

  export default {
    components: {
      MyInputComponent
    },
    data() {
      return {
        inputValue: '11' // 这里是 v-model 绑定的数据
      }
    },
    watch: {
      inputValue(val1, val2) {
        console.warn("watch inputValue", val1, val2);
      }
    }
}
</script>